<!-- BEGIN PAGE HEADER-->
<?php $this->load->view('partials/breadcrumb.tpl')?>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row">
	<div class="col-xs-12 ">
		<!-- BEGIN SAMPLE FORM PORTLET-->
		<div class="portlet box green ">
			<?=edit_form_caption(l($thisMethod).'商品')?>
			<div class="portlet-body form">
				<?=form_open('', Array('class'=>'form-horizontal', 'role'=>'form', 'id'=>'form_edit', 'data-category-id'=>$obj->id))?>
					<div class="form-body">
						<?=edit_form_input('product_name', set_value('product_name', $obj->product_name), '商品名称')?>
                        <?=edit_form_input('price', set_value('price', $obj->price), '商品单价（元）',$has_his?'readonly':'')?>
						<?=edit_form_input('unit', set_value('unit', $obj->unit), '商品单位')?>
						<?=edit_form_input('product_type', set_value('product_type', $obj->product_type), '商品类型')?>
						<?=edit_form_textarea('remark', set_value('remark', $obj->remark), '备注信息')?>
                    </div>
					<?php $this->load->view('partials/submitButtons.tpl')?>
				<?=form_close()?>
			</div>
		</div>
	</div>
</div>
<link href="<?=image_url('/static/assets/global/plugins/jstree/dist/themes/default/style.min.css')?>" rel="stylesheet" type="text/css"/>
